package com.hyy.cn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.hyy.cn.mapper")
@SpringBootApplication
@ComponentScan(basePackages = {"com.hyy.cn", "org.java.test"}) // 添加所有需要扫描的包
public class SpringBootTemplateApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootTemplateApplication.class, args);
    }

}
